<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<script src="artDialog.js?skin=default"></script>
<script src="plugins/iframeTools.js"></script>
<script >
(function (config) {
    config['lock'] = true;
    config['fixed'] = true;
    config['okVal'] = 'Ok';
    config['cancelVal'] = 'Cancel';
    // [more..]
})(art.dialog.defaults);

function popModual()
{
	//art.dialog('简单愉悦的接口，强大的表现力，优雅的内部实现', function(){alert('yes');});
	//art.dialog('cesshi  zgl ',function(){alert('ok');});
	
	//var dialog = art.dialog({
//    title: '欢迎',
//    content: '欢迎使用artDialog对话框组件！',
//    icon: 'succeed',
//    ok: function(){
//        this.title('警告').content('请注意artDialog两秒后将关闭！').lock().time(2);
//        return false;
//    }
var val = document.getElementById('demoInput04-3').value;
art.dialog.data('test', val);

// 此时 iframeA.html 页面可以使用 art.dialog.data('test') 获取到数据，如：
// document.getElementById('aInput').value = art.dialog.data('test');
art.dialog.open('./_doc/iframeA.html');

}
</script>
</head>

<body>
<a href="javascript:popModual()">运行</a>
<input id="demoInput04-3" title="demoInput04-3" type="text" value="精于心，简于形" style="padding:4px; width:16em; margin-right:10px" />
<div id="result"></div>
</body>
</html>
